<%-- 
    Document   : list_all_category
    Created on : 10-Jul-2013, 14:48:55
    Author     : MrMAD
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Book Store</title>
    </head>
    <body>
        <div id="templatemo_content_left">
            <div class="templatemo_content_left_section">
                <h1>Category</h1>
                <ul>
                    <jsp:useBean id="catList" class="mybean.DBProcess"/>
                    <c:forEach var="catItem" items="<%= catList.listCategory() %>">
                        <li><a href="category.jsp?catid1=${catItem.catID}">${catItem.catName}</a></li>
                    </c:forEach>
                </ul>
            </div>
            <div class="templatemo_content_left_section">
                <h1>Bestsellers</h1>
                <ul>
                    <li><a href="#">Vestibulum ullamcorper</a></li>
                    <li><a href="#">Maece nas metus</a></li>
                    <li><a href="#">In sed risus ac feli</a></li>
                    <li><a href="#">Praesent mattis varius</a></li>
                    <li><a href="#">Maece nas metus</a></li>
                    <li><a href="#">In sed risus ac feli</a></li>
                    <li><a href="#o.com" target="_parent">Web Design</a></li>
                    <li><a href="#" target="_parent">Free Photos</a></li>
                </ul>
            </div>
            
        </div> <!-- end of content left -->
    </body>
</html>
